<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>listapperror</title>
  </head>
  
  <body>
<table align="center" border="1">
	<tr>
		<th>
			时间
		</th>
		<th>
			图片
		</th>
		<th>
			类型
		</th>
		<th>
			内容
		</th>
	</tr>

	<c:forEach var="info" items="${requestScope.data}"
		varStatus="index">
		<tr
			<c:if test="${index.index % 2 == 1 }"> style="background-color:rgb(219,241,212);"</c:if>>
			<td>
				${info.addtime}
			</td>
			<td>
				<img width="64" height="64" src="${info.pic}" alt="alt">
			</td>
			<td>
				<c:if test="${info.dyntype == 1 }">注册</c:if>
				<c:if test="${info.dyntype == 2 }">签到</c:if>
				<c:if test="${info.dyntype == 3 }">关注用户</c:if>
				<c:if test="${info.dyntype == 4 }">关注老师</c:if>
				<c:if test="${info.dyntype == 5 }">学习视频</c:if>
			</td>
			<td>
				${info.content}
			</td>
		</tr>
	</c:forEach>

</table>

  </body>
</html>